package com.jxc.jxc01.grc.service.impl;

import com.jxc.jxc01.grc.dao.IReturnDao;
import com.jxc.jxc01.grc.dao.impl.ReturnDaoImpl;
import com.jxc.jxc01.grc.entity.Return;
import com.jxc.jxc01.grc.service.IReturnService;


import java.util.List;

public class IReturnServiceImpl implements IReturnService {
    IReturnDao iReturnDao = new ReturnDaoImpl();
    @Override
    public boolean addOneOfReturn(Return returnModel) {
        return iReturnDao.addOneOfReturn(returnModel);
    }

    @Override
    public List<Return> queryReturn() {
        return iReturnDao.queryReturn();
    }

    @Override
    public int getCount() {
        return iReturnDao.getCount();
    }

    @Override
    public List<Return> queryReturnById(int procurement) {
        return iReturnDao.queryReturnById(procurement);
    }
}
